/**
 * @fileOverview
 * @name router/projectList.js
 * @author hudingyu <hudingyu@meituan.com>
 * @date 2018/7/26
 * @license MIT
 */

const router = require('koa-router')();
const bizListController = require('../controller/biz-list/bizList');
const projectListController = require('../controller/project-list/projectList');

router.prefix('/api');

router.get('/biz/list', bizListController.bizList);
router.get('/project/list', projectListController.projectList);

router.post('/project/edit', projectListController.saveProject);

module.exports = router;